<div ng-controller="Modal" ng-class="{'modal-open':show}">
	<div class="modal fade" tabindex="-1" role="dialog"
		ng-class="{'in': show}"
		ng-style="{'display': show?'block':'none', 'background-color':show?'rgba(1,1,1,.2)':''}"
		ng-click="show=false">
		<div class="modal-dialog">
			<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"
					ng-click="show=false"><span aria-hidden="true">&times;</span></button>
				<h4 class="modal-title">回溯</h4>
			</div>
			<div class="modal-body">
				<pre ng-bind-html="code"></pre>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal"
					ng-click="show=false">关闭</button>
			</div>
			</div><!-- /.modal-content -->
		</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->
</div>
